package com.iweb.pojo;

import java.util.Date;

public class EquipmentRent {
    private int id;
    private int userID;
    private int eId;
    private Date startTime;
    private Date endTime;
    private Date bookTime;

    public EquipmentRent(int id, int userID, int eId, Date startTime, Date endTime, Date bookTime) {
        this.id = id;
        this.userID = userID;
        this.eId = eId;
        this.startTime = startTime;
        this.endTime = endTime;
        this.bookTime = bookTime;
    }

    public EquipmentRent() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserID() {
        return userID;
    }

    public void setUserID(int userID) {
        this.userID = userID;
    }

    public int geteId() {
        return eId;
    }

    public void seteId(int eId) {
        this.eId = eId;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    @Override
    public String toString() {
        return "EquipmentRent{" +
                "id=" + id +
                ", userID=" + userID +
                ", eId=" + eId +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", bookTime=" + bookTime +
                '}';
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getBookTime() {
        return bookTime;
    }

    public void setBookTime(Date bookTime) {
        this.bookTime = bookTime;
    }
}
